package org.example.domain;


public class Student {
    /**
     * 主键id
     */
    private Long id;
    /**
     * 姓名
     */
    private String name;
    /**
     * 性别
     */
    private String sex;
    /**
     * 电话
     */
    private String mobilePhone;
    /**
     * 住址
     */
    private String address;
    /**
     * 班级
     */
    private String className;
    /**
     * 学号
     */
    private String studentID;
    /**
     * 成绩
     */
    private String score;

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", mobilePhone='" + mobilePhone + '\'' +
                ", address='" + address + '\'' +
                ", className='" + className + '\'' +
                ", studentID='" + studentID + '\'' +
                ", score='" + score + '\'' +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getStudentID() {
        return studentID;
    }

    public void setStudentID(String studentID) {
        this.studentID = studentID;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public Student() {
    }

    public Student(Long id, String name, String sex, String mobilePhone, String address, String className, String studentID, String score) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.mobilePhone = mobilePhone;
        this.address = address;
        this.className = className;
        this.studentID = studentID;
        this.score = score;
    }
}
